// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import "./utils/axios.tool"
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import './assets/css/theme.scss'
import './assets/css/common.css'
import echarts from 'echarts'


Vue.use(ElementUI);
Vue.config.productionTip = false
console.log(process.env.NODE_ENV)
Vue.prototype.$apiUrl = process.env.NODE_ENV === 'development' ? '' : 'http://138.128.213.242:8080'
Vue.prototype.$echarts = echarts
Vue.prototype.$apiUrl = process.env.NODE_ENV === 'development' ? '' : 'http://172.93.44.253:8080'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
